<script setup>
const props = defineProps({
  message: String,
})
const emit = defineEmits(['changeMessage'])
const change = () => {
  emit('changeMessage')
}
</script>
<template>
  {{ message }}
  <button @click="change">Change</button>
</template>
